package com.zito.health.mapper;

import com.zito.health.entity.Department;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface DepartmentMapper extends Mapper<Department> {
    int insert(Department record);

//    int insertSelective(Department record);

    Department selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);
    
    void deleteByUnitId(Integer id);
}